<?PHP
    error_reporting(E_ALL ^ E_NOTICE);

    define ("__PLAYPLUS__", TRUE);

    include "./lib/send.lib.php";

    $send=new send;
/*
    switch ($mode) {
        case "regist" :
            $gcm->regist();
            break;
        case "unregist" :
            $gcm->unregist();
            break;
        case "post" :
            $gcm->post();
            break;
        case "apiregist" :
            break;
        default :
            return FALSE;
            break;
    }
*/
    if (!$registrationId)
        $registrationId="APA91bFFWFHb-a7JDsPBLF6vbdOsfe8W0SjR39VGeNgbu8FDIweWCpkKo52bpcX_pMPwjJAp9OKIr0cQxmGqkVdORRt2q0m9OKgDqQz_VHWEmgpkrNXnAeIJQMll214PoyEmKU0_BWv_E9gsJkOYlhfFMWbt51tJLWt9kdJiSUrbOCWqEzeU-cM";

    echo "<----------  START  ----------><br /><br />";
    echo $send->gcm_curl_send(array($registrationId));
    echo "<br /><br /><----------   END   ---------->";
?>